package com.eedi.framework.permission.dal.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.eedi.framework.tenant.core.db.TenantBaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 角色和菜单关联
 *
 */
@TableName("sys_role_menu")
@Data
@EqualsAndHashCode(callSuper = true)
public class SysRoleMenuDO extends TenantBaseDO {



    /**
     * 角色菜单业务id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String sysRoleMenuId;
    /**
     * 角色ID
     * 关联 {@link SysRoleDO#getSysRoleId()} ()} ()}
     */
    private String sysRoleId;
    /**
     * 菜单ID
     * 关联 {@link SysMenuDO#getSysMenuId()} ()} ()}
     */
    private String sysMenuId;


}
